<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>飞机票列表</title>
    <link rel="stylesheet" href="../../../script/swiper/swiper.min.css">
    <link rel="stylesheet" href="../../../css/aui.css">
    <link rel="stylesheet" href="../../../css/index/aircraft/ticket_list.css">
    <link rel="stylesheet" href="../../../css/index/aircraft/public.css">
    <link rel="stylesheet" href="../../../css/index/hotel/date.css">
    <link rel="stylesheet" href="../../../css/iconfont/iconfont.css">
    <link rel="stylesheet" href="../../../script/widget/slider/jquery.range.css">
</head>
<body style="cursor: pointer">
<header class="aui-bar aui-bar-nav" id='header'>
    <a class="aui-pull-left aui-btn" onclick="closeWin()">
        <span class="aui-iconfont aui-icon-left"></span>
    </a>
    <div class="aui-title" style="text-align:center;">
      <span class="startCity">太原</span>
      <span class="arrows"><i class="iconfont icon-qucheng" style="font-size:1rem;"></i></span>
      <span class="endCity">北京</span>
    </div>
    <!-- <a class="aui-pull-right aui-btn aui-btn-outlined" style="border: 0;" onclick="getHome()">
        <span class="aui-iconfont aui-icon-home"></span>
    </a> -->
    <span style='font-size:1.40rem;display:block;margin:0 0 0 15rem;color:white;'class='iconfont icon-kefu'></span>
</header>
</body>
</html>
<script type="text/javascript" src="../../../script/extend/jquery-3.3.1.min.js"></script>
<script src="../../../script/aui/api.js"></script>
<script src="../../../script/swiper/swiper.min.js"></script>
<script src="../../../script/widget/slider/jquery.range.js"></script>
<script src="../../../script/aui/aui-tab.js"></script>
<!-- <script src="../../../script/aui/aui-dialog.js"></script> -->
<script src="../../../script/aui/aui-toast.js"></script>
<script src="../../../script/extend/date.js"></script>
<script src="../../../script/config.js"></script>
<script type="text/javascript" src="../../../script/common.js"></script>
<script src="../../../script/extend/doT.min.js"></script>

<script>
var selected_staff;
  apiready = function(){
    api.parseTapmode();
    selected_staff = api.pageParam.selected_staff;
    $('.startCity').text($api.getStorage('aircraf_start_site'));
    $('.endCity').text($api.getStorage('aircraf_end_site'));
    //设置高度
    var header = $api.byId('header');
    $api.fixStatusBar(header);
    var contentHead = api.winHeight - $api.byId('header').offsetHeight;
    api.openFrame({
        name: 'ticket_list_frm',
        url: './ticket_list_frm.html',
        rect: {
            x: 0,
            y: $api.byId('header').offsetHeight,
            w: 'auto',
            h: contentHead
        },
        pageParam: {
            selected_staff:selected_staff
        },
        bounces: false,
        bgColor: 'rgba(0,0,0,0)',
        vScrollBarEnabled: true,
        hScrollBarEnabled: true
    });
    //step7:客服电话
    $('.icon-kefu').click(function () {
        api.call({
            type: 'tel_prompt',
            number: '0351-8222211'
        });
    });
  }

</script>
